interface TableData {
    id: number;
    title: string;
    descs?: string;
    status: number,
    sort?: number,
    createTime:string,
    updateTime?:string,
}

export const tableData: TableData[] = [
    {
        id: 1,
        title: '全球',
        descs: '',
        status: 1,
        sort: 1,
        createTime:'2023-10-13',
        updateTime:'2023-10-14',
    },
    {
        id: 2,
        title: '中国',
        descs: '',
        status: 1,
        sort: 1,
        createTime:'2023-10-13',
        updateTime:'2023-10-14',
    },
    {
        id: 3,
        title: '美国',
        descs: '',
        status: 1,
        sort: 1,
        createTime:'2023-10-13',
        updateTime:'2023-10-14',
    },
    {
        id: 4,
        title: '俄罗斯',
        descs: '',
        status: 0,
        sort: 1,
        createTime:'2023-10-13',
        updateTime:'2023-10-14',
    },
    {
        id: 5,
        title: '欧盟',
        descs: '',
        status: 1,
        sort: 1,
        createTime:'2023-10-13',
        updateTime:'2023-10-14',
    },
    {
        id: 6,
        title: '印度',
        descs: '',
        status: 1,
        sort: 1,
        createTime:'2023-10-13',
        updateTime:'2023-10-14',
    },
   
];

interface TableList {
    prop?: string;
    label?: string;
    // 固定 接收 left right
    fixed?: string;
    width?: number;
    sortable?:boolean
}

export const tableList: TableList[] = [
    {
        prop: 'id',
        label: '序号',
        width: 100,
    },
    {
        prop: 'title',
        label: '地区名称',
    },
    {
        prop: 'descs',
        label: '描述',
     
    },
    {
        prop: 'status',
        label: '状态',
    
    },
    {
        prop: 'sort',
        label: '排序',
        sortable:true
    },
    {
        prop: 'createTime',
        label: '更新时间',
        sortable:true
    },
    {
        prop: 'updateTime',
        label: '更新时间',
        sortable:true
    },
];
